package com.qzsoft.zhjd.exp.modules.expsofteningpoint.service.impl;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qzsoft.zhjd.common.components.BaseServiceComponent;
import com.qzsoft.zhjd.exp.modules.expsofteningpoint.dto.ExpSofteningPointDto;
import com.qzsoft.zhjd.exp.modules.expsofteningpoint.entity.ExpSofteningPointEntity;
import com.qzsoft.zhjd.exp.modules.expsofteningpoint.mapper.ExpSofteningPointMapper;
import com.qzsoft.zhjd.exp.modules.expsofteningpoint.service.ExpSofteningPointService;


/**
 * @ClassName: ExpSofteningPointServiceImpl
 * @Description: 软化点业务接口实现
 * @author linhuawei
 * @since 2021-04-19
 */
@Service
public class ExpSofteningPointServiceImpl extends ServiceImpl<ExpSofteningPointMapper, ExpSofteningPointEntity>
        implements ExpSofteningPointService {
    
    @Autowired
    private BaseServiceComponent baseServiceComponent;
    
    @Override
    public IPage<ExpSofteningPointDto> page(Map<String, Object> params) {
        IPage<ExpSofteningPointDto> page = baseServiceComponent.getPage(params, ExpSofteningPointDto.class);
        return baseMapper.queryDto(page, params);
    }
    
}
